<?php
// $Id: views-view.tpl.php,v 1.13.2.2 2010/03/25 20:25:28 merlinofchaos Exp $
/**
 * @file views-view.tpl.php
 * Main view template
 *
 * Variables available:
 * - $classes_array: An array of classes determined in
 *   template_preprocess_views_view(). Default classes are:
 *     .view
 *     .view-[css_name]
 *     .view-id-[view_name]
 *     .view-display-id-[display_name]
 *     .view-dom-id-[dom_id]
 * - $classes: A string version of $classes_array for use in the class attribute
 * - $css_name: A css-safe version of the view name.
 * - $css_class: The user-specified classes names, if any
 * - $header: The view header
 * - $footer: The view footer
 * - $rows: The results of the view query, if any
 * - $empty: The empty text to display if the view is empty
 * - $pager: The pager next/prev links to display, if any
 * - $exposed: Exposed widget form/info to display
 * - $feed_icon: Feed icon to display, if any
 * - $more: A link to view more, if any
 * - $admin_links: A rendered list of administrative links
 * - $admin_links_raw: A list of administrative links suitable for theme('links')
 *
 * @ingroup views_templates
 */
?>
<?php// var_dump($data_buy); ?>
<?php foreach($data_buy as $data) : ?>
<div id="carpage-line">
	  	<div id="car-pic">
			<?php print $data['image']; ?>
	  	</div>
	
		<div id="car-text">
                    <div class="car-detail">
                        <a href="<?php print $data['path']; ?>"><?php print $data['title']; ?></a>
                    </div>
                    <div>
                        <?php print $data['teaser']; ?>
                    </div>
                    <div>
                        PHP <?php print $data['price']; ?>
                    </div>
		</div>
 </div>
<div id="clear-both"><hr></div>
<?php endforeach; ?>

<?php if ($pager): ?>
    <?php print $pager; ?>
  <?php endif; ?>